package com.ruoyi.system.domain;

import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备类型对象 mr_modality
 *
 * @author ruoyi
 * @date 2023-05-08
 */
@Setter
@Getter
public class MrModality extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增id */
    private Long modalityId;

    /** 厂家 */
    @Excel(name = "厂家")
    private String manufactor;

    /** 设备类型（CT/MR/...） */
    @Excel(name = "设备类型", readConverterExp = "C=T/MR/...")
    private String modalityCode;

    /** 类型名称 */
    @Excel(name = "类型名称")
    private String modalityName;

    /** 设备型号 */
    @Excel(name = "设备型号")
    private String product;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("modalityId", getModalityId())
            .append("manufactor", getManufactor())
            .append("modalityCode", getModalityCode())
            .append("modalityName", getModalityName())
            .append("product", getProduct())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
